package com.kobeliu;


import io.seata.spring.boot.autoconfigure.SeataAutoConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class,
                                    SeataAutoConfiguration.class,
                                    MongoAutoConfiguration.class})
@MapperScan(basePackages = "com.kobeliu.mapper")
@EnableDiscoveryClient
public class FileApplication {

    public static void main(String[] args) {

        SpringApplication.run(FileApplication.class,args);
    }
}
